package com.ruoyi.bill.mapper;

import com.ruoyi.bill.domain.BillCustomInvest;
import com.ruoyi.bill.domain.BillPort;
import com.ruoyi.bill.domain.bo.BillCustomInvestBo;
import com.ruoyi.bill.domain.bo.BillPortBo;
import com.ruoyi.bill.domain.vo.BillCustomInvestVo;
import com.ruoyi.bill.domain.vo.BillFinanceVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 客户台账Mapper接口
 *
 * @author linziheng
 * @date 2024-02-29
 */
public interface BillCustomInvestMapper extends BaseMapperPlus<BillCustomInvestMapper, BillCustomInvest, BillCustomInvestVo> {

    List<BillCustomInvest> getNoList();
    List<BillCustomInvestVo> queryListToday();
    double getTodayTotal(String now);

    Double countCurrency();

    int getWeekList(String date);

    BigDecimal currCus(@Param("bo") BillCustomInvestBo bo);

    List<BillCustomInvest> recordList(BillCustomInvestBo bo);
    List<BillCustomInvest> recordListBl(BillCustomInvestBo bo);
    List<BillCustomInvest> previous(BillCustomInvestBo bo);

    List<BillCustomInvest> recordListDesc(BillCustomInvestBo bo);

    void updateNo();

    List<BillCustomInvest> recordListNoThis(BillCustomInvestBo bo);
}
